import request from '@/untils/request'

export const finance=()=>{
                return request.get('/finance/customer')
}

export const accountAll=(id,pageNum,pageSize)=>{
    return request({
        url:`/finance/accountAll`,
        method: 'get',
        params: {
            id,
            pageNum,
            pageSize
        }
    })
}

export const accounting = (id,pageNum,pageSize) =>{
    return request({
        url:`/finance/accounting`,
        method: 'get',
        params: {
            id,
            pageNum,
            pageSize
        }
    })
}

export const accountOne = (id) =>{
    return request({
        url:`/finance/accountOne`,
        method: 'get',
        params: {
            id
        }
    })
}